<table width="100%" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td>
      <form action="{$abs_data.action}" method="POST" onsubmit="return validate_form(this);">
          <!--
          <input type="hidden" name="category_id" value="1" />
          <input type="hidden" name="level_id" value="1" />
          -->
          <input type="hidden" name="abstract_id" value="{$abs_data.abstract_id}">
        {if ($abs_data.abs.status_id == $smarty.const.ABS_STATUS_COMPLETE)}
          <div class="gray_box" style="color: #FF0000">
            <p>Note that this abstract is currently marked as complete, modifying it in any way
            will reset it to a draft status. Only abstracts marked as complete will be considered 
            by AAHPM</p>
          </div>
          <br />
        {/if}
          <div class="gray_box" style="" >
            <p align='right'><input type="submit" name="submit" value="Save & Continue"></p>
            <p>Please enter your basic abstract information in the form below. After filling out this form click the "Save & Continue" button located at the top or bottom of the page. All fields on this form are required unless marked as "optional."</p>
 
          </div>
    
          {include file='abstract_title_form_include.tpl'}
          
          <div class="gray_box" style="" >
          <p><strong>Audio-Visual Equipment:</strong><br />
          The following equipment will be provided in each meeting room.<br />
          <ul>
          <li>One screen</li>
          <li>One lavalier microphone</li>
          <li>One LCD monitor</li>
          <li>One Laptop</li>
          </ul>
          By saving this form you are confirming that you understand this will be the only audio-visual equipment provided.</p>
          <p>When you click the "Save & Continue" button at the bottom of this form, all of the information you have entered will be 	saved. You may go back and change your information at any time prior to the submission deadline by clicking on the "Title & Info" tab located at the top of this page.</p>
          <p align='right'><input type="submit" name="submit" value="Save & Continue"></p>
        
      </form>
    </td>
  </tr>
</table>
<script type="text/javascript">
   function validate_form(f) {ldelim}
     var e = '';
     if(trim(f.abstract_title.value) == '') {ldelim}
        e += 'You must supply an abstract title.\n';
     {rdelim}
 
    
     if (e == '') {ldelim}
         return true;
     {rdelim} 
     else {ldelim}
         alert (e);
         return false;
     {rdelim}
{rdelim} // end validate function

function trim(stringToTrim) {ldelim}
	    return stringToTrim.replace(/^\s+|\s+$/g,"");
{rdelim}

</script>

